<template>
  <div class="budget">
    <Myhead>装修预算</Myhead>
    <div class="img-box">
      <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
        <van-swipe-item
          ><img src="@/assets/house_info.jpg" alt=""
        /></van-swipe-item>
        <van-swipe-item
          ><img src="@/assets/10quoted.jpg" alt="" /></van-swipe-item
        >\
      </van-swipe>
    </div>
    <p class="fnag">房先森 / 装修攻略 / 装修预算 / 正文</p>
    <div class="yusuan">
      <p style="font-size: 24px">装修预算注意事项</p>
      <p
        style="color: #999; border-bottom: 1px solid #999; padding-bottom: 10px"
      >
        <i style="margin-right: 30px" class="iconfont icon-time">2016-07-09</i>
        <i class="iconfont icon-view">115</i>
      </p>
    </div>
    <div class="list-box">
      <div>
        <span>客厅装修隔断</span>
        <span>客厅装修图</span>
        <span>客厅装修效果</span>
      </div>
      <p>
        导语:在装修是如果没有提前最好装修预算,很容易造成最后开支过大,添置很多没必要的增项.那么在做预算的时候又有什么需要注意的地方呢?
      </p>
      <img
        src="http://img.sirfang.com/editor/2020/10/17/b4227def010fc41737ad3ba7e668db4c.png"
        alt=""
      />
      <div class="quanwne">展示全文</div>
    </div>
    <div class="dv5">
      <span class="sp1" @click="$router.push('/comments')">
        <i class="iconfont icon-pencle"></i>
        <span class="span1">评论(10)</span>
      </span>
      <span class="sp2" @click="showPopup">
        <i class="iconfont icon-share"></i>
        <span class="span2">分享</span>
      </span>
    </div>
    <div class="dv4">进入装修预算</div>
    <div class="dv7"></div>
    <div class="dv6">
      <div class="head">
        <span class="a"></span>
        <span class="b">猜您喜欢</span>
      </div>
      <ul>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/editor/2020/10/17/b4227def010fc41737ad3ba7e668db4c.png"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">乐动全城｜2016马可波罗瓷砖球迷嘉年华</p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>932</span>
            </p>
          </div>
        </li>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/editor/2020/10/17/b4227def010fc41737ad3ba7e668db4c.png"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">乐动全城｜2016马可波罗瓷砖球迷嘉年华</p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>932</span>
            </p>
          </div>
        </li>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/editor/2020/10/17/b4227def010fc41737ad3ba7e668db4c.png"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">乐动全城｜2016马可波罗瓷砖球迷嘉年华</p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>932</span>
            </p>
          </div>
        </li>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/editor/2020/10/17/b4227def010fc41737ad3ba7e668db4c.png"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">乐动全城｜2016马可波罗瓷砖球迷嘉年华</p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>932</span>
            </p>
          </div>
        </li>
        <li class="li-one">
          <div class="one-img">
            <img
              src="http://img.sirfang.com/editor/2020/10/17/b4227def010fc41737ad3ba7e668db4c.png"
              alt=""
            />
          </div>
          <div class="one-box">
            <p class="p1">乐动全城｜2016马可波罗瓷砖球迷嘉年华</p>
            <p class="p2">
              <span><i class="iconfont icon-time"></i>2020-10-19</span>
              &emsp; <span><i class="iconfont icon-view"></i>932</span>
            </p>
          </div>
        </li>
      </ul>
    </div>
   <Myfoot></Myfoot>
   
   <!-- 遮罩层 -->
   <van-popup class="shows" v-model="show">
     <div class="show">
        <div>
       <img src="/common/icon_weibo.png" alt="">
       <div>新浪微博</div>
     </div>
     <div>
       <img src="/common/icon_tx.png" alt="">
       <div>腾讯微博</div>
     </div>
     <div>
       <img src="/common/icon_qzone.png" alt="">
       <div>QQ空间</div>
     </div>
     </div>
    
     <div class="qx">
       <div>
         取消
       </div>
       
     </div>
   </van-popup>
  </div>
</template>

<script>
import Myhead from "../components/Myhead.vue";
import Myfoot from '@/components/Myfoot'
export default {
  data() {
    return {
      show:false
    };
  },
  mounted() {},
  methods: {
    showPopup(){
      this.show=true
    }
      },
  components: {
    Myhead,
    Myfoot
  },
};
</script>

<style lang='scss' scoped>
.budget {
  width: 100%;
  background-color: #fff;
  position: relative;
}
.img-box {
  width: 100%;
  height: 150px;
  overflow: hidden;
  // background-color: #fff;
}
.van-swipe-item {
  width: 100%;
  height: 150px;
  img {
    width: 100%;
    height: 100% !important;
  }
}
.fnag {
  width: 90%;
  background-color: #f4f4f4;
  padding: 10px 10px;
  margin: 10px auto;
  border-radius: 6px;
}
.yusuan {
  width: 100%;
  // align-items: center;
  margin: 0 auto;
  p {
    margin-top: 26px;
    width: 100%;
    text-align: center;
    // margin:0 auto;
  }
}
.list-box {
  width: 100%;
  color: #999;
  background-color: #fff;
  margin-top: 10px;
  div {
    span {
      border: 1px solid #999;
      border-radius: 8px;
      display: inline-block;
      // white-space: pre-wrap;
      margin-left: 10px;
      flex-wrap: wrap;
      padding: 5px;
    }
  }
  p {
    text-indent: 2rem;
    margin-top: 10px;
  }
  img {
    width: 300px;
    height: 180px;
    margin-left: 30px;
    margin-top: 30px;
  }
  .quanwne {
    width: 97%;
    border-radius: 8px;
    border: 1px solid #999;
    line-height: 40px;
    text-align: center;
    // margin: 10px auto;
  }
}
.dv5 {
  width: 100%;
  padding-top: 20px;
  display: flex;
  // height: 100%;
  background-color: #fff;
  justify-content: space-around;
  text-align: center;
  .sp1 {
    flex-basis: 50%;
    height: 100%;
    .icon-pencle {
      width: 33%;
      display: inline-block;
      height: 60px;
      line-height: 60px;
      border-radius: 50%;
      border: 2px solid #269ff6;
      font-size: 30px;
      color: #269ff6;
    }
    .span1 {
      display: block;
      color: #269ff6;
      margin: 8px 0;
    }
  }
  .sp2 {
    flex-basis: 50%;
    height: 60px;
    .icon-share {
      width: 33%;
      display: inline-block;
      height: 60px;
      line-height: 60px;
      border-radius: 50%;
      font-size: 30px;
      border: 2px solid #feb605;
      color: #feb605;
    }
    .span2 {
      display: block;
      color: #feb605;
      margin: 8px 0;
    }
  }
}

.dv6 {
  width: 100%;
  height: 100%;
  .head {
    width: 100%;
    height: 50px;
    line-height: 60px;
    display: flex;
    .a {
      width: 5px;
      height: 30px;
      margin: 15px 10px;
      background-color: #39c894;
    }
    .b {
      width: 150px;
      height: 50px;
      line-height: 60px;
      font-size: 20px;
      color: #000;
    }
  }
  .li-one {
    width: 95%;
    height: 80px;
    display: flex;
    margin: 10px auto;
    border-bottom: 1px solid #eee;
    .one-img {
      width: 30%;
      height: 69px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .one-box {
      margin: 0;
      position: relative;
      padding: 0;
      .p2 {
        margin-top: 45px;
        margin-left: 10px;
        font-size: 15px;
        color: #ccc;
      }
      .p1 {
        line-height: 30px;
        width: 240px;
        margin: 0;
        padding: 0;
        font-size: 16px;
        position: absolute;
        padding-left: 10px;
        // top: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 100%;
        // margin-bottom: 10px;
      }
    }
  }
}
.dv7 {
  width: 100%;
  height: 10px;
  background-color: #f4f4f4;
}
.dv4 {
  width: 95%;
  height: 30px;
  line-height: 30px;
  margin: 10px auto;
  border: 1px solid #95dfc1;
  color: #95dfc1;
  text-align: center;
  border-radius: 4px;
  background-color: #fff;
}

.foot-tips {
  background: #fff;
}
.footer-nav  {
  padding: 0.3rem;
  margin-top: 0.3rem;
  background: #fff;
  font-size: 14px;
  text-align: center;
  color: #999;
}
.shows{
  width: 100%;
  background-color: rgba(0, 0, 0, 0);   
}
.show{
  margin: 0 30px;
  height: 100%;
  display: flex;
  color: #fff;
  justify-content: space-between;
  font-size: 21px;
  font-weight: 100;
  img{
    width: 80px;
    height: 80px;
  }
}
.qx{
  width: 100%;
  margin-top: 30px;

  div{
    width: 90%;
    margin: 0 auto;
    border-radius: 6px;
    height: 50px;
    line-height: 50px;
    font-size: 30px;
    background-color: #fff;
    text-align: center;

  }
}
</style>
